package com.wjc.server.service;


import com.wjc.server.entity.TabTest;
import com.wjc.server.entity.TabTestExample;
import com.wjc.server.mapper.TabTestMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TabTestService {
    @Resource
    private TabTestMapper tabTestMapper;

    public List<TabTest> queryTest(){
        TabTestExample tabTestExample = new TabTestExample();
        tabTestExample.setOrderByClause("id desc");
        return tabTestMapper.selectByExample(tabTestExample);
    }
}
